package oa.hleast.xswl.pojo.domain.questionnaire;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import oa.hleast.common.base.BaseEntity;

/**
 * @author: 302
 * @date: 2021-07-19 18:33:28
 * @description: 问卷问题表(QmsQuestionnaire)实体类
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("qms_questionnaire")
@ApiModel("问卷问题表实体类")
public class QmsQuestionnaire extends BaseEntity {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("问卷标题")
    private String title;

    @ApiModelProperty("答题时间")
    private Long problemTime;

    @ApiModelProperty("版本号")
    private int version;

    @ApiModelProperty("图片地址")
    private String pictureAddress;

    @ApiModelProperty("简介")
    private String introduce;

    @ApiModelProperty("题目数量")
    private Integer titleNumber;

    @ApiModelProperty("生效标识  (0->云课堂   1->地图点)")
    private Integer display;

    @ApiModelProperty("总分")
    private Integer totalScore;

    @TableLogic(value = "0", delval = "1")
    @ApiModelProperty("删除标识  (0未删除 1已删除)")
    private Integer deleted;
}
